package com.example.zqm.git72.Service;

import com.example.zqm.git72.JavaBean.Contest;
import com.example.zqm.git72.JavaBean.Master;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/4/10.
 */

public interface ContestService {
 @GET("workout/api.php/lists/mod/contest ")
    Call<List<Contest>>getList();
    @GET("workout/api.php/get/mod/contest ")
    Call<Contest>getContestById(
            @Query("id") String id
    );
}
